package net.kucoe.grin.internal.interaction.exception;

/**
 * Thrown when invocation failed with some parameter.
 * 
 * @author Vitaliy Basyuk
 */
public class InvocationFailedException extends ParameterRelatedException {
    
    private static final long serialVersionUID = 4790399478805348692L;
    
    /**
     * Constructs InvocationFailedException.
     * 
     * @param parameter
     * @param reason
     */
    public InvocationFailedException(final String parameter, final Throwable reason) {
        super(parameter, "Invocaion failed with parameter:'" + parameter + "'", reason);
    }
    
}
